package com.benworks.test.powermock.mockEnum;

/**
 * mock枚举实现的单例
 * 
 * @author http://www.blogjava.net/usherlight/archive/2015/06/16/425740.html
 * http://stackoverflow.com/questions/15939023
 */
public enum SingletonObject {
	INSTANCE;

	private int num;

	protected void setNum(int num) {
		this.num = num;
	}

	public int getNum() {
		return num;
	}
}
